<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/4/17/017
 * Time: 11:40
 */

namespace app\Lib\Model\Tag\OrderStopWordReason;


use app\Lib\Model\DbModel\PatternTag;
use app\Lib\Model\Tag\TagSelectList;

class StopWordTagTagSelectList extends TagSelectList
{
    public function __construct()
    {
        $this->table = new PatternTag();
    }


    public function getList(){
        $list =  $this->run();
        $data = [];
        foreach ($list as $v){
            $styleModel = (new StopWordTag($v));
            $data[$v] =['tag'=>$styleModel->getTagName(),'tips'=>$styleModel->getTips()];
        }
        return $data;
    }
}